package o2o.dao.TO;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: yangtongkuan
 * Date: 2018/12/19
 * Time: 16:43
 * Description: 远程交互红包信息交互
 */
public class RedPacketInfoTo {
    private Long id;                        // ID
    private String sysCustomer;            // 客户标识
    private Integer isAlwaysActive;         // 是否一直有效
    private String prov;                    // 红包限制领取省份
    private String city;                    // 红包限制领取城市
    private String county;                  // 红包限制领取区县
    private Integer bossType;               // 活动主办方  1平台 2店铺
    private Integer packetType;             // 红包类型  1分享红包 2领取红包
    private Integer gameType;               // 活动类型  1满减  2满赠  3首单减  4首单赠
    private Long shopId;                    // 主办方Id（店铺Id）
    private String shopUsername;            // 主办方账号（店铺账号）
    private String shopName;                //  店铺名称
    private String shopAddress;             // 店铺地址
    private String name;                    // 红包名称
    private Integer isOpen;                 // 是否打开
    private Long startTime;                 // 活动开始时间
    private Long endTime;                   // 活动结束时间
    private Integer totalCounts;            // 红包总个数 （-1为无数个）
    private Integer splitCount;             // 红包打开个数（用户领取红包的个数）
    private Integer canEnjoyTimes;          // 可参加次数（-1为无限次）
    private Double price = 0.0d;                   // 红包金额
    private Double shopPrice = 0.0d;               // 店铺承担金额
    private Double platformPrice = 0.0d;           // 平台承担金额
    private Double priceRang = 0.0d;               // 红包使用门槛（即大于多少时才可以使用，-1不限金额）
    private Double sharePrice = 0.0d;              // 分享红包者获取金额
    private Double sharePriceRang = 0.0d;          // 分享红包者使用红包门槛
    private Long shareValidDays;            // 分享红包有效期
    private Double payFisMinRang;           // 支付完成红包最小满足 （不包括）
    private Double payFisMaxRang;           // 支付完成最大满足 （包括）
    private String descs;                   // 红包描述
    private String note;                    // 红包备注
    private Long canUseDays;                // 红包可使用天数
    private Integer delFlag;                    //  是否已删除(0未删除,1已删除)
    private String createUser;              //  创建者
    private Long createTime;                //  创建日期 141231212423423时间戳毫秒级标识

    public Long getCreateTime() {
        return createTime;
    }

    public RedPacketInfoTo setCreateTime(Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getCreateUser() {
        return createUser;
    }

    public RedPacketInfoTo setCreateUser(String createUser) {
        this.createUser = createUser;
        return this;
    }

    private List<RedPacketRecordInfoTo> recordInfoList;

    public Long getId() {
        return id;
    }

    public RedPacketInfoTo setId(Long id) {
        this.id = id;
        return this;
    }

    public String getSysCustomer() {
        return sysCustomer;
    }

    public RedPacketInfoTo setSysCustomer(String sysCustomer) {
        this.sysCustomer = sysCustomer;
        return this;
    }

    public Integer getIsAlwaysActive() {
        return isAlwaysActive;
    }

    public RedPacketInfoTo setIsAlwaysActive(Integer isAlwaysActive) {
        this.isAlwaysActive = isAlwaysActive;
        return this;
    }

    public String getProv() {
        return prov;
    }

    public RedPacketInfoTo setProv(String prov) {
        this.prov = prov;
        return this;
    }

    public String getCity() {
        return city;
    }

    public RedPacketInfoTo setCity(String city) {
        this.city = city;
        return this;
    }

    public String getCounty() {
        return county;
    }

    public RedPacketInfoTo setCounty(String county) {
        this.county = county;
        return this;
    }

    public Integer getBossType() {
        return bossType;
    }

    public RedPacketInfoTo setBossType(Integer bossType) {
        this.bossType = bossType;
        return this;
    }

    public Integer getPacketType() {
        return packetType;
    }

    public RedPacketInfoTo setPacketType(Integer packetType) {
        this.packetType = packetType;
        return this;
    }

    public Integer getGameType() {
        return gameType;
    }

    public RedPacketInfoTo setGameType(Integer gameType) {
        this.gameType = gameType;
        return this;
    }

    public Long getShopId() {
        return shopId;
    }

    public RedPacketInfoTo setShopId(Long shopId) {
        this.shopId = shopId;
        return this;
    }

    public String getShopUsername() {
        return shopUsername;
    }

    public RedPacketInfoTo setShopUsername(String shopUsername) {
        this.shopUsername = shopUsername;
        return this;
    }

    public String getShopName() {
        return shopName;
    }

    public RedPacketInfoTo setShopName(String shopName) {
        this.shopName = shopName;
        return this;
    }

    public String getShopAddress() {
        return shopAddress;
    }

    public RedPacketInfoTo setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
        return this;
    }

    public String getName() {
        return name;
    }

    public RedPacketInfoTo setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getIsOpen() {
        return isOpen;
    }

    public RedPacketInfoTo setIsOpen(Integer isOpen) {
        this.isOpen = isOpen;
        return this;
    }

    public Long getStartTime() {
        return startTime;
    }

    public RedPacketInfoTo setStartTime(Long startTime) {
        this.startTime = startTime;
        return this;
    }

    public Long getEndTime() {
        return endTime;
    }

    public RedPacketInfoTo setEndTime(Long endTime) {
        this.endTime = endTime;
        return this;
    }

    public Integer getTotalCounts() {
        return totalCounts;
    }

    public RedPacketInfoTo setTotalCounts(Integer totalCounts) {
        this.totalCounts = totalCounts;
        return this;
    }

    public Integer getSplitCount() {
        return splitCount;
    }

    public RedPacketInfoTo setSplitCount(Integer splitCount) {
        this.splitCount = splitCount;
        return this;
    }

    public Integer getCanEnjoyTimes() {
        return canEnjoyTimes;
    }

    public RedPacketInfoTo setCanEnjoyTimes(Integer canEnjoyTimes) {
        this.canEnjoyTimes = canEnjoyTimes;
        return this;
    }

    public Double getPrice() {
        return price;
    }

    public RedPacketInfoTo setPrice(Double price) {
        this.price = price;
        return this;
    }

    public Double getShopPrice() {
        return shopPrice;
    }

    public RedPacketInfoTo setShopPrice(Double shopPrice) {
        this.shopPrice = shopPrice;
        return this;
    }

    public Double getPlatformPrice() {
        return platformPrice;
    }

    public RedPacketInfoTo setPlatformPrice(Double platformPrice) {
        this.platformPrice = platformPrice;
        return this;
    }

    public Double getPriceRang() {
        return priceRang;
    }

    public RedPacketInfoTo setPriceRang(Double priceRang) {
        this.priceRang = priceRang;
        return this;
    }

    public Double getSharePrice() {
        return sharePrice;
    }

    public RedPacketInfoTo setSharePrice(Double sharePrice) {
        this.sharePrice = sharePrice;
        return this;
    }

    public Double getSharePriceRang() {
        return sharePriceRang;
    }

    public RedPacketInfoTo setSharePriceRang(Double sharePriceRang) {
        this.sharePriceRang = sharePriceRang;
        return this;
    }

    public Long getShareValidDays() {
        return shareValidDays;
    }

    public RedPacketInfoTo setShareValidDays(Long shareValidDays) {
        this.shareValidDays = shareValidDays;
        return this;
    }

    public Double getPayFisMinRang() {
        return payFisMinRang;
    }

    public RedPacketInfoTo setPayFisMinRang(Double payFisMinRang) {
        this.payFisMinRang = payFisMinRang;
        return this;
    }

    public Double getPayFisMaxRang() {
        return payFisMaxRang;
    }

    public RedPacketInfoTo setPayFisMaxRang(Double payFisMaxRang) {
        this.payFisMaxRang = payFisMaxRang;
        return this;
    }

    public String getDescs() {
        return descs;
    }

    public RedPacketInfoTo setDescs(String descs) {
        this.descs = descs;
        return this;
    }

    public String getNote() {
        return note;
    }

    public RedPacketInfoTo setNote(String note) {
        this.note = note;
        return this;
    }

    public Long getCanUseDays() {
        return canUseDays;
    }

    public RedPacketInfoTo setCanUseDays(Long canUseDays) {
        this.canUseDays = canUseDays;
        return this;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public RedPacketInfoTo setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
        return this;
    }

    public List<RedPacketRecordInfoTo> getRecordInfoList() {
        return recordInfoList;
    }

    public RedPacketInfoTo setRecordInfoList(List<RedPacketRecordInfoTo> recordInfoList) {
        this.recordInfoList = recordInfoList;
        return this;
    }
}